﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="sysMenuPage.aspx.cs" Inherits="Pages_sysMenuPage" %>

    <%@ Register TagPrefix="Menu" TagName="MenuBox" Src="~/Control/Menu.ascx" %>

<%--<asp:Content ID="Content1" ContentPlaceHolderID="StyleSection" runat="Server">
    <link rel="stylesheet" type="text/css" href="../Resource/css/easyui.css" />
    <script type="text/javascript" src="<%=ResolveClientUrl("~/Resource/js/jquery.easyui.min.js")%>"></script>
    <script src="<%=ResolveClientUrl("~/Resource/app/setting/Menu.js")%>" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentSection" runat="Server">
    <a href="#" id="add-link" class="addBtn create-button">Create New</a>
    <br />
    <br />
    <div class="grid-box">
        <h3>
            Menu Configuration</h3>
        <table id="menu-grid" title="" class="easyui-treegrid"  url="../Handler/sysMenuHandler.ashx?show=list"
            rownumbers="true" idfield="ID" treefield="Title">
            <thead>
                <tr>
                    <th field="Title" width="200">
                        Title
                    </th>
                    <th field="Url" width="385">
                        Url
                    </th>
                    <th field="Control" width="63" align="center">
                    </th>
                </tr>
            </thead>
        </table>
    </div>

    <div id="dialog" title="Default dialog">
    </div>

</asp:Content>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link rel="stylesheet" type="text/css" href="../Resource/css/easyui.css" />
    <script type="text/javascript" src="<%=ResolveClientUrl("~/Resource/js/jquery.easyui.min.js")%>"></script>
    <script src="<%=ResolveClientUrl("~/Resource/app/setting/Menu.js")%>" type="text/javascript"></script>

    <script src="<%=ResolveClientUrl("~/Resource/js/jquery-ui-1.9.2.custom.min.js")%>"
        type="text/javascript"></script>

        <link href="<%=ResolveClientUrl("~/Resource/css/jquery-ui-1.9.2.custom.min.css")%>"
        rel="Stylesheet" type="text/css" />

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitleContent" runat="server">
     <img id="Img1" src="~/Resource/Img/menu.png" runat="server" alt="Menu" />Setting / <span style="color: #d28235">Menu</span>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
    <Menu:MenuBox ID="MenuTop" runat="server"><SidebarMenu></SidebarMenu></Menu:MenuBox>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
<a href="#" id="add-link" class="addBtn create-button">Create New</a>
    <br />
    <br />
    <div class="grid-box">
        <h3>
            Menu Configuration</h3>
        <table id="menu-grid" title="" class="easyui-treegrid"  url="../Handler/sysMenuHandler.ashx?show=list"
            rownumbers="true" idfield="ID" treefield="Title">
            <thead>
                <tr>
                    <th field="Title" width="200">
                        Title
                    </th>
                    <th field="Url" width="385">
                        Url
                    </th>
                    <th field="Control" width="63" align="center">
                    </th>
                </tr>
            </thead>
        </table>
    </div>

    <div id="dialog" title="Default dialog">
    </div>
</asp:Content>
